package com.tqz.rc.server.consistency;

/**
 * <p>一致性协议。
 *
 * @author tianqingzhao
 * @since 2021/8/26 17:47
 */
public interface ConsistencyService {

    void put(String key, Record value);

    Datum get(String key);

    void listen(String key, RecordListener recordListener);
}
